//
//  SHChangeSizeScrollView.h
//  hotel
//
//  Created by 周宇航 on 2017/3/2.
//  Copyright © 2017年 zj. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SHChangeSizeScrollView;
@protocol SHChangeSizeScrollViewDelegate <NSObject>
@optional
-(void)csScrollView:(SHChangeSizeScrollView*)scrollView orderBtn:(int)orderNum;
-(void)csScrollView:(SHChangeSizeScrollView*)scrollView detailView:(int)detailNum;
@end

@interface SHChangeSizeScrollView : UIView<UIScrollViewDelegate>{
    UIScrollView *csScorllView;
    NSMutableArray *imageViewArray;
    CGRect scrollframe;
    float csScrollWidth;
    float csScrollHeight;
    float endFloat;
    float endScrollSizeX;
}

@property(nonatomic,strong)NSString * star_at ;
@property(nonatomic,strong)NSString *viewClassName;
@property(nonatomic,assign)BOOL isChangeSize ;//是否在滑动时 放大缩小
@property(nonatomic,assign)CGRect showBounds ;//显示图片的大小
@property(nonatomic,assign)float csMultiple ;//放大倍数
@property(nonatomic,assign)float intervalWight ;//间隔宽度

-(id)initWithFrame:(CGRect)frame;
-(void)setScrollViewWithArrData:(NSArray *)arrData;
@property(nonatomic ,weak)id<SHChangeSizeScrollViewDelegate> delegate;

@end

